#include "showlabel.h"


ShowLabel::ShowLabel( QWidget *parent)
    : QLabel( parent)
{
    QPalette palette;
    palette.setColor(QPalette::WindowText,Qt::white);
    this->setPalette(palette);

}

void ShowLabel::addFontSize(int size)
{
    QFont font = this->font();
    font.setPointSize(font.pointSize() + size);
    this->setFont(font);
}

void ShowLabel::mouseReleaseEvent(QMouseEvent *ev)
{
    emit clicked();
}
